
**Welcome to the Jungle - International Interactions**
**Table 1 and Figures 1-3 replication commands **

log using "F:\Ross\papers\combat\II Replication Data\combat_Apr3probit", replace


*Data set is "F:\Ross\papers\combat\II Replication Data\combatrnrmarch27_replication.dta"


***Table 1, Column 1 & Figure 1***

*Start with simple model.  note the inclusion of peaceyrs, etc. but not combat1, etc  *

probit dispute i.combat2##c.lntentomid2  peaceyrs _spline1 _spline2 _spline3, robust cluster(dyad) 
outreg2 using   combattenureApr3probitc,  dec(3) excel replace ctitle(Base)
**this plots nicely for simple model**
margins combat2, at(lntentomid2=(.1(1)10))
marginsplot
graph save Graph "F:\Ross\papers\combat\II Replication Data\Figure1bApr3c.gph"

 
 ***Table 1, Column 2 & Figure 2 ***

probit dispute i.milservice2##c.lntentomid2  peaceyrs _spline1 _spline2 _spline3 if combat2==0, robust cluster(dyad)
outreg2 using   combattenureApr3probitc,  dec(3) excel append ctitle(Military Service)
margins milservice2, at(lntentomid2=(.1(1)10))
marginsplot

graph save Graph "F:\Ross\papers\combat\II Replication Data\Figure2bApr3c.gph"




**now add controls**


***Table 1, Column 3 & Figure 3 **

probit dispute i.combat2##c.lntentomid2 i.combat1##c.lntentomid1 age1 age2 democracy2 joindem civwar2 relcap1 contig s_wt_glo  pcrivall  dayyrtot peaceyrs  _spline1 _spline2 _spline3, robust cluster(dyad)
outreg2 using   combattenureApr3probitc,  dec(3) excel append ctitle(Controls) 
margins combat2, at(lntentomid2=(.1(1)10))
marginsplot
graph save Graph "F:\Ross\papers\combat\II Replication Data\Figure3bApr3c.gph"

log close

